home *** CD-ROM | disk | FTP | other *** search
-
- Anfy Life2d 2.1 - Copyright (C) by Fabio Ciucci 1996/98
-
-
- This applet can generate and simulate in realtime an Artificial Life,
- using Conway algorythm... the result is a sort of unicellular life.
- Remember that are needed both life2d.class , Lware.class and anfy.class.
- You must upload these 3 .class files and insert the <applet> tag on your
- html document to add this applet to your page.
- This applet is fully parametrized, so you can change many things to
- adapt the effect to your pages and purposes.
- Here an example of what you have to write in the html (the things after
- the ; are comments with min-max values acceptet):
-
-
- <applet code="life2d.class" width=180 height=160> ; Name, Width, Height
- <param name=credits value="Applet by Fabio Ciucci (www.anfiteatro.it/java.html)">
- <param name=regcode value="NO"> ; Register code (if you have it)
- <param name=reglink value="NO"> ; URL where go optionally when clicked
- <param name=regnewframe value="YES"> ; Reglink opened in new frame?
- <param name=regframename value="_blank"> ; Name of new frame for reglink
- <param name=statusmsg value="Life2d applet"> ; Statusbar message
- <param name=res value="2"> ; Resolution (1-8)
- <param name=backR value="20"> ; RED comp. of backg. color (0-255)
- <param name=backG value="20"> ; GREEN comp. of backg. color (0-255)
- <param name=backB value="230"> ; BLUE comp. of backg. color (0-255)
- <param name=foreR value="250"> ; RED comp. of foregr. color (0-255)
- <param name=foreG value="250"> ; GREEN comp. of foregr. color (0-255)
- <param name=foreB value="60"> ; BLUE comp. of foregr. color (0-255)
- <param name=ldensity value="2"> ; Initial life density (1-9)
- <param name=textscroll value="tcubescr.txt"> ; File for scrolltext or "NO"
- <param name=textoffset value="140"> ; Txtscroll y offset
- <param name=textspeed value="1"> ; Txtscroll speed
- <param name=textfont value="Arial"> ; Txtscroll font name
- <param name=textbold value="NO"> ; Txtscroll bold ("YES" or "NO")
- <param name=textsize value="24"> ; Txtscroll font size
- <param name=textshadow value="YES"> ; Txtscroll shadow ("YES" or "NO")
- <param name=TextColR value="200"> ; Txtscroll color (red component)
- <param name=TextColG value="255"> ; Txtscroll color (green component)
- <param name=TextColB value="190"> ; Txtscroll color (blue component)
- <param name=TextSColR value="20"> ; Txtscroll shadow col. (red c.)
- <param name=TextSColG value="20"> ; Txtscroll shadow col. (green c.)
- <param name=TextSColB value="50"> ; Txtscroll shadow col. (blue c.)
- <param name=TextJumpAmp value="0"> ; Txtscroll jump aplitude
- <param name=TextJumpSpd value="0"> ; Txtscroll jump speed
- <param name=TextSineAmp value="0"> ; Txtscroll sineshape amplitude
- <param name=TextSineSpd value="0"> ; Txtscroll sineshape movement
- <param name=TextSineAngle value="0"> ; Txtscroll sineangle / pixel
- <param name=memdelay value="1000"> ; Memory deallocation delay
- <param name=priority value="3"> ; Task priority (1..10)
- <param name=MinSYNC value="10"> ; Min. milliseconds/frame for sync
- Your browser doesn't suppor Java. ; Msg in no java browsers
- </applet> ; End of classtag
-
- ---------
-
-
- Here detailed instructions about how to change parameters:
-
-
- The credits parameter can't be changed otherwise the applet will not work.
-
- To activate the reg parameters read the shareware registration notes.
- In the "regcode" parameter you have to place the registration code you
- purchase from the author. If it is correct and the applet is run from the
- registered domain name, you can use "reglink" parameter, where you can specify
- an URL where bring user when the applet is clicked.
- If you set to "YES" regnewframe, you can specify a frame where load the
- reglink:
-
- "_blank" : To load the link in a new blank unnamed browser window.
- "_self" : To load the link into the same window the applet occupies.
- "_parent" : To load the link into the immediate FRAMESET parent.
- "_top" : To load the link into the top body of the window.
-
- Otherwise the frame name, for example "myframe1".
-
- The size of the applet is determined by width and height tags.
-
- The res parameter determine the resolution: with res=1 pixels are small,
- but effect is slow, with res=8 pixels are too great but effect fast.
- I think the best choices are 2-4.
-
- You can change the background and foreground colours for best results over
- your web page, the RGB values are same as HTML tags, but in decimal values.
-
- The "ldensity" parameter determine the amount of lifeforms at beginning.
-
-
-